package com.neighbor.neighborhoodadmin.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.neighbor.neighborhoodadmin.pojo.Notifications;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import javax.management.Notification;
import java.awt.print.Pageable;
import java.util.List;

/**
 * <p>
 * 系统通知表 Mapper 接口
 * </p>
 *
 * @author song
 * @since 2025-09-22 09:11:23
 */
public interface INotificationsDao extends BaseMapper<Notifications> {
    List<Notifications> selectAll(@Param("offset") int offset, @Param("limit") int limit);
    Notifications selectById(Integer notificationId);
    int insert(Notifications notification);
    int update(Notifications notification);
    int delete(Integer notificationId);
    int selectCount();
}
